/*
 *  PerlinNoise.h
 *  Fracture
 *
 *  Created by Jamie Portsmouth on 20/02/2010.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */

/* Coherent noise function over 1, 2 or 3 dimensions */
/* (copyright Ken Perlin) */


namespace PerlinNoise
{
	
	void init(void);
	double noise1(double);
	double noise2(double *);
	double noise3(double *);
	void normalize3(double *);
	void normalize2(double *);
	
	double PerlinNoise1D(double,double,double,int);
	double PerlinNoise2D(double,double,double,double,int);
	double PerlinNoise3D(double,double,double,double,double,int);
	
}




